const HomePage = () => import(/* webpackChunkName: 'ImportFuncDemo' */  '@/views/HomePage.vue')
const Jumptest = () => import(/* webpackChunkName: 'ImportFuncDemo' */  '@/components/Jumptest.vue')
const Login = () => import(/* webpackChunkName: 'ImportFuncDemo' */  '@/views/Login.vue')
const EventDetails = () => import(/* webpackChunkName: 'ImportFuncDemo' */  '@/views/EventDetails.vue')
const AdminPage = () => import(/* webpackChunkName: 'ImportFuncDemo' */  '@/views/AdminPage.vue')
const WatchGame = () => import(/* webpackChunkName: 'ImportFuncDemo' */  '@/views/WatchGame.vue')
const MyCptt = () => import(/* webpackChunkName: 'ImportFuncDemo' */  '@/views/MyCptt.vue')
const MyInfo = () => import(/* webpackChunkName: 'ImportFuncDemo' */  '@/views/MyInfo.vue')

export const H5UserRouter = [
  { path: '/', redirect: 'home'},
  { name:'login', path: 'login', component: Login },//登录
  { name:'home', path: 'home', component: HomePage },//主页
  { name:'eventDetails', path: 'eventDetails', component: EventDetails },//详情
  { name:'watch', path: 'watch', component: WatchGame },//观赛
  { name:'myCptt', path: 'myCptt', component: MyCptt },//我的比赛
  { name:'info', path: 'info', component: MyInfo },//信息
  { name:'admin', path: 'admin', redirect:'/404'}
]